package com.fly.system.service;

import com.fly.common.model.SysUserModel;
import com.fly.system.model.SysRoleModel;
import com.fly.system.model.SysUserRoleModel;

import java.util.List;

public interface SysUserService {

    List<SysUserModel> findPage(SysUserModel model);

    int saveModel(SysUserModel model);

    SysUserModel findModelById(Long id);

    List<SysUserRoleModel> findUserRoleListByUserId(Long userId);

    int editModelById(SysUserModel model);

    int removeModelById(SysUserModel model);

    List<SysRoleModel> findRoleAll();

}
